<?php namespace App\Models;

class News extends \Eloquent
{
	protected $table = "news";
	protected $softDelete = true;

	public function images()
	{
		return $this->belongsToMany("App\Models\NewsImage", "news_news_images", "newsid", "imageid")->withTimestamps();
	}
}